#------------------------------- topo server -------------------------------
topo:
#
  https_enabled: false
  cert_file: ""
  key_file: ""
#
# 插件服务端服务器监听地址
  server_listen_addr: "0.0.0.0:9991"
#
# 远程客户端与插件服务端建立连接时插件的地址
  server_target_addr: "{{ groups['topo'][0] }}:9991"
#
# 插件agent端口号
  agent_port: "9992"
#
# 指定图数据库，若为""，则不启用图数据库来保存并查看历史图数据（支持的图数据库：neo4j）
  graphDB: "" 
#
# 静态资源目录：*.tar.gz *.rpm *.sh，用于通过PilotGo平台向业务节点远程部署topology plugin agent或其他资源
# path: "/opt/PilotGo/plugin/topology/resource"
#
#------------------------------- log -------------------------------
log:
#
  level: debug
#
# 可选stdout和file。stdout：输出到终端控制台；file：输出到path下的指定文件。
  driver: file
#
  path: /opt/PilotGo/plugin/topology/server/log/toposerver.log
  max_file: 1
  max_size: 10485760
#
#------------------------------- neo4j -------------------------------
neo4j:
#
  addr: "bolt://{{ groups['neo4j'][0] }}:7687"
  username: "{{ neo4j_username }}"
  password: "{{ neo4j_password }}"
  DB: "neo4j"
#
# 数据采集时间间隔，单位秒(s)
  period: 86400
#
# 图历史数据保留时间，单位小时(h)
  retention: 24
#
# 执行清理图历史数据的时间(h:m:s)
  cleartime: "02:30:00"
#
#------------------------------- redis -------------------------------
redis:
#
  addr: "{{ groups['redis'][0] }}:6379"
  use_tls: true
  password: '{{ redis_password }}'
  DB: 1
  dialTimeout: 5s
#
#------------------------------- mysql -------------------------------
mysql:
#
  addr: "{{ groups['mysql'][0] }}:3306"
  username: '{{ mysql_username }}'
  password: '{{ mysql_password }}'
  DB: "PluginTopo"
#
#------------------------------- influxdb 暂不启用 -------------------------------
influx:
#
  addr: "http://localhost:8086"
  token: ""
  org: ""
  bucket: ""
#
#------------------------------- prometheus 暂不启用 -------------------------------
prometheus:
#
  addr: "http://localhost:9090"
